LiveCode Script item list handling
Type
module
Summary
Utility functions for LiveCode Script-compatible item lists.
Many LiveCode Builder widget and library extensions expose APIs to
LiveCode Script that use item lists. This library provides a set of
functions for converting List
values to-and-from comma-delimited
item strings.
Description
Utility functions for LiveCode Script-compatible item lists.
Many LiveCode Builder widget and library extensions expose APIs to
LiveCode Script that use item lists. This library provides a set of
functions for converting List
values to-and-from comma-delimited
item strings.
Children Properties
Handler
Name | Summary | Syntax |
---|---|---|
formatBooleanListAsItems | Format a list of booleans as a comma-delimited "item" string | formatBooleanListAsItems(<pList>) |
parseItemsAsNumberList | Parse a comma-delimited "item" string as a list of numbers | parseItemsAsNumberList(<pStringValue>,<pListLength>,<pDefaultValue>) |
parseItemsAsBooleanList | Parse a comma-delimited "item" string as a list of booleans | parseItemsAsBooleanList(<pStringValue>,<pListLength>,<pDefaultValue>) |
parseItemsAsStringList | Parse a comma-delimited "item" string as a list of strings | parseItemsAsStringList(<pStringValue>,<pListLength>,<pDefaultValue>) |
formatStringListAsItems | Format a list of strings as a comma-delimited "item" string | formatStringListAsItems(<pList>) |
formatNumberListAsItems | Format a list of numbers as a comma-delimited "item" string | formatNumberListAsItems(<pList>) |